
def func(n):
    if n==1 or n==2:
        return 1
    else:
        return func(n-1)+func(n-2)


if __name__=="__main__":

    num = int(input("请输入一个整数："))
    for i in range(1,num+1):
        print(func(i),end=',')
